<?php


$oGroup = new Group();
$list = $oGroup->get_list('*', $_GET, array('rank' => 'DESC', 'id' => 'DESC'), $__page, $__pagesize);
if(!empty($list)){	
	foreach($list['list'] as $key => $row){
		$row['deadline'] = ftime($row['deadline']);
		$row['addtime'] = ftime($row['addtime']);
		$row['updatetime'] = ftime($row['updatetime']);
		$list['list'][$key] = $row;
	}
	$vars['list'] = $list['list'];
	$vars['pagelist'] = $list['pagelist'];
}


?>